package cn.ytxy.ivos.audit.mapper;


import cn.ytxy.ivos.audit.pojo.dto.AuditQuery;
import cn.ytxy.ivos.audit.pojo.entity.Audit;
import cn.ytxy.ivos.audit.pojo.vo.AuditVO;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @ClassName AuditMapper
 * @Description TODO
 * @Author renhong~Deng
 * @Date 2025/5/13 9:27
 * @Version 1.0
 */

@Repository
public interface AuditMapper {
    void insert(Audit audit);

    List<AuditVO> selectAuditByApplicationId(Long id);

    void deleteAuditByApplicationId(Long id);

    List<AuditVO> selectAudit(AuditQuery auditQuery);

    void update(Audit audit);

    Integer selectRestAuditCount(AuditQuery auditQuery);

    void deleteById(Long id);
}
